package MyInfo;

import java.util.Scanner;

public class San2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请任意输入一个年份：");
        int a = scanner.nextInt();
        if ((a%4==0&&a%100!=0)||(a%400==0)){
            System.out.println("此年份是闰年");
        }else {
            System.out.println("此年份不是闰年");
        }
    }
}
